/*
 * Fileobj.h
 *
 * currently designed to support HDF5 format only
 *
 *
 *  Created on: Jul 4, 2012
 *      Author: plasmayang
 */

#ifndef FILEOBJ_H_
#define FILEOBJ_H_

#include "datafile.h"
#include <iostream>
/*
#include "DataObj.h"
#include "DataObj.cpp"//template used, including this file makes compiler work properly
using dataobject::DataObj;
*/




using namespace std;

class Fileobj {
public:
	Fileobj(string &, int, int);
	~Fileobj();

	int getformat() const;
	int setformat(const int);

	string getName() const;
	int setName(const string);

	void * getid() const;
private:
	void * identifier;
	int fmt;
	string filename;
};

#endif /* FILEOBJ_H_ */
